<template>
  <div class="navigation-outer">
    <div class="navigation-in">
      <div class="navigation-log">
        <a href="#"><img src="../../images/log.png" alt=""></a>
      </div>
      <div class="navigation-content">
        <a href="index.html">首页</a>
        <a href="BOT.html">BOT</a>
        <a href="#">沸点</a>
        <a href="#">课程</a>
        <a href="#">直播</a>
        <a href="#">活动</a>
        <a href="#">竞赛</a>
        <a href="#">商城</a>
        <a href="#">APP</a>
        <a href="#">插件</a>
      </div>
      <div class="navigation-img2">
        <a href="#"><img src="../images/zhishiku.png" alt=""></a>
      </div>
      <div class="navigation-input">
        <input type="#" placeholder="探索稀土掘金" class="input1">
        <div>
          <span class="iconfont icon-sousuo"></span>
        </div>
      </div>
      <div class="navigation-button1">
        <a href="#">
          <button>创作者中心</button>
          <div>
            <span class="iconfont icon-sousuo"></span>
          </div>
        </a>
      </div>
      <div class="vip1">
        <a href="#">
          <img src="../images/vip.png" alt="">
          <span>会员</span>
        </a>
      </div>
      <div class="navigation-button2">
        <button>
          <div>登入</div>
          <div>|</div>
          <div>注册</div>
        </button>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts" name="App">

</script>

<style scoped>
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f4f4f4;
}

/* 顶部导航条 */
.navigation-in {
  height: 60px;
  width: 1440px;
  padding: 0 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  vertical-align: middle;
  gap: 10px;
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  background-color: #fff;
}

.navigation-log img {
  height: 22px;
  width: 107px;
  margin-left: 24px;
}

.navigation-content {
  margin: 0 10px;
}

.navigation-content a {
  font-size: 14px;
  padding: 20px 10px 20px;
  color: #909090;
}

.navigation-content a:hover {
  color: #333;
  padding-bottom: 20px;
  border-bottom: 2px solid #1364ce;
}


.navigation-img2 img {
  height: 39.67px;
  width: 115px;
  margin-right: 20px;
}

.navigation-input {
  width: 260px;
  display: flex;
  border: 1px solid #90909066;
  border-radius: 3px;
  padding: 3px 0;
  padding-right: 3px;
  flex-grow: 1;
}

.navigation-input:hover {
  border: 1px solid #909090;
}

.navigation-input input {
  padding: 7.2px 0 7.2px 12px;
  flex-grow: 1;
  border-right: 0;
  border: 0;
}

.navigation-input input:focus {
  outline: none;
}

.navigation-input div {
  box-sizing: border-box;
  width: 44px;
  border-left: 0;
  padding-top: 3px;
  padding-left: 12px;
  background-color: #00000011;
  border-radius: 3px;
}

.navigation-input span {
  font-size: 18px;
}

.navigation-button1 {
  background-color: #1e80ff;
  color: #fff;
  border-radius: 5px;
  margin: 0 10px;
}

.navigation-button1 div:hover,
.navigation-button1 button:hover {
  background-color: #1364ce;
  border-radius: 6px;
}

.navigation-button1 a {
  display: flex;
}

.navigation-button1 button {
  height: 36px;
  width: 94px;
  border: 0;
  background-color: #1e80ff;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.navigation-button1 div {
  width: 20px;
  padding-top: 7px;
  border-left: 0.5px solid #ffffff22;
}

.navigation-button1 span {
  font-size: 18px;
  color: #fff;
}

.vip1 a {
  display: flex;
  align-items: center;
}

.vip1 img {
  height: 24px;
  width: 24px;
}

.vip1 span {
  color: #8a919f;
}

.navigation-button2 {
  margin-left: 10px;
}

.navigation-button2 button {
  display: flex;
  color: #007fff;
  background-color: #1e80ff0d;
  padding: 8px 12px;
  border: 1px solid #abcdff;
  cursor: pointer;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.navigation-button2 div {
  margin: 0 2px;
}
</style>